window.onload = function () {
    var trend_lab = document.querySelector(".trend-lab");
    var array = ["医疗","互联网","病毒","中国","口罩","抽象","仓库",
            "银河","家庭","上海","星空","美食","城市","移动交通",
            "商务","人物","沙滩","绿幕"];
    for(var i=0;i<array.length;i++){
        var li = document.createElement("li");
        trend_lab.appendChild(li);
        var trend_lab_a = document.createElement("a");
        trend_lab_a.setAttribute("href","#");
        trend_lab_a.setAttribute("target","_blank");
        trend_lab_a.innerHTML = array[i];
        li.appendChild(trend_lab_a);
    }

}